<?php $__env->startSection('content'); ?>

<div class="panel panel-default bk-bg-white">
	<div class="panel-heading bk-bg-white">
		<h6><i class="fa fa-indent red"></i>修改密码</h6>
		<?php if(count($errors)>0): ?>
		<div class="alert alert-danger" role="alert">
			<?php if(is_object($errors)): ?>
				<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					<?php echo e($error); ?>

				<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
			<?php else: ?>
				<?php echo e($errors); ?>

			<?php endif; ?>
		</div>		
		<?php endif; ?>			
		<div class="panel-actions">
			<a href="#" class="btn-minimize"><i class="fa fa-caret-up"></i></a>
			<a href="#" class="btn-close"><i class="fa fa-times"></i></a>
		</div>
	</div>
	<div class="panel-body">
		<form action="" method="post">
		<?php echo e(csrf_field()); ?>

	
			<div class="form-group">
				<label for="nf-email">原密码</label>
				<input type="password" name="oldpassword" class="form-control" placeholder="请输入您原来的密码！">
				<!-- <span class="help-block">请输入您的旧密码</span> -->
			</div>
			<div class="form-group">
				<label for="nf-password">新密码</label>
				<input type="password"  name="password" class="form-control" placeholder="请输入6到20位的新密码！">
			<!-- 	<span class="help-block">请输入您的新密码</span> -->
			</div>
			<div class="form-group">
				<label for="nf-password">确认密码</label>
				<input type="password" name="password_confirmation" class="form-control" placeholder="请再次输入您的新密码！">
				<!-- <span class="help-block">请再次输入您的新密码</span> -->
			</div>
			<div class="form-group">
				<input type="submit" value="确认修改">
				<a href="<?php echo e(url('admin/index')); ?>"><input type="button" class="btn btn-default" value="返回"></a>
			</div>
		</form>
	</div>								
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.index.index', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>